package com.wx.mall.operate.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.wx.mall.operate.entity.RebDiscount;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@Data
public class RebToDisVo {
    @ApiModelProperty(value = "ID")
    private Long id;

    @ApiModelProperty(value = "优惠条件ID")
    private Long discountId;

    @ApiModelProperty(value = "活动标题")
    private String title;

    @ApiModelProperty(value = "活动状态")
    private Integer activityState;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "开始时间")
    private Date startTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "结束时间")
    private Date endTime;

    @ApiModelProperty(value = "上下架")
    private Integer putType;

    @ApiModelProperty(value = "活动商品分类")
    private String category;

    @ApiModelProperty(value = "优惠方法实体")
    List<RebDiscount> list;
}
